import React, { Component } from 'react';
import { connect } from 'dva';

@connect(({ dvaDemo }) => ({ dvaDemo }))
class DvaDemo extends Component {
  state = {};

  render() {
    const {
      dvaDemo: { data },
    } = this.props;
    console.log(data);

    return <div>dva学习</div>;
  }
}
export default DvaDemo;
